
from rest_framework import serializers

from home.models import NavCategory


class NavCategorySerializer(serializers.ModelSerializer):
    class Meta:
        model = NavCategory
        fields = ['id','name','display_name','weight','external_link']